package cn.training.controller;

import cn.agriculture.common.validator.constraints.NotEmpty;

public class UserB {
	private String userid;
	@NotEmpty(field="用户密码",  message="{errors.required}")
	private String password;
	@NotEmpty(field="用户姓名",  message="{errors.required}")
	private String username;
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	

}
